<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1" import="ass.beans.*"
	import="ass.dao.support.*" import="java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<%@ include file="header.html"%>
	<%@ include file="userNavBar.html"%>

	<%
		UserBean userbean = (UserBean) request.getAttribute("userbean");
	%>
	<div align="center">
		<table>
			<%
				if (userbean.getTicket_amount() == 0) {
					out.print("No ticket booking record!");
				} else {
			%>

			<tr>
				<td align="left">Title:</td>
				<td align="left"><%=userbean.getTicket_title()%></td>
			</tr>
			<tr>
				<td align="left">Cinema:</td>
				<td align="left">MyCinema<%=userbean.getTicket_cinema()%></td>
			</tr>
			<tr>
				<td align="left">Show time:</td>
				<td align="left"><%=userbean.getTicket_show_time()%></td>
			</tr>
			<tr>
				<td align="left">Ticket amount:</td>
				<td align="left"><%=userbean.getTicket_amount()%></td>
			</tr>
			<%
				}
			%>
		</table>

	</div>
</body>
</html>